{% extends "analysis_plugins/general_information.html" %}

{% block analysis_result_details %}

    {% if analysis_result['init_type'] %}
        <tr>
            <td class="table-head-light">Init system</td>
            <td class="table-head-light">{{ analysis_result['init_type'][0]}}</td>
        </tr>
    {% endif %}
    {% if analysis_result['description'] %}
        <tr>
            <td>Description</td>
            <td>{{ analysis_result['description'][0]}}</td>
        </tr>
    {% endif %}
    {% for key, value in analysis_result.items() | sort %}
        <tr>
            <td>{{ key }}</td>
            <td>
                <pre class="border rounded p-2 bg-light" style="white-space: pre-wrap;"><code>{{ value }}</code></pre>
            </td>
        </tr>
    {% endfor %}

{% endblock %}
